package org.mozhu.mboot.core.json;

import java.io.IOException;
import java.io.Reader;
import java.lang.reflect.Type;

public interface JSONDeserializer {

	Object deserialize(Reader reader) throws JSONParseException, IOException;
	
	<T> T deserialize(Reader reader, Class<T> valueType) throws JSONParseException, IOException;
	
	<T> T deserialize(Reader reader, Type valueType) throws JSONParseException, IOException;
}
